// Define a TABLE
#VAR(Table, TABLE)

// Load and activate the table
#ADDTBL("table.txt", Table)
#ACTIVETBL(Table)

#SMA("LINEAR")


//-----------------------------------------------
// Huffman decoder replacement
//-----------------------------------------------

#JMP($16A3)
#INSERT( "t1.obj", "Decoder init" )
#WARN( $16EB, "Huffman_1" )

#JMP($16EB)
#INSERT( "t1_1.obj", "Raw_decoder - no more Huffman" )
#WARN( $1A5C, "Huffman_2" )

#JMP($1A96)
#INSERT( "t1_2.obj", "Decoder exit" )
#WARN( $1ABB, "Huffman_3" )

#JMP($716CA)
// Print routine = raw copy, skip table translation
// LD C,A
// JP $5795 (71795)
<$4F>
<$C3><$95><$57>
